package com.dmxh.mapper;

import com.dmxh.pojo.TbGoodsDesc;
import com.dmxh.pojo.TbGoodsDescExample;
import com.dmxh.pojo.TbGoodsDescWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbGoodsDescMapper {
    int countByExample(TbGoodsDescExample example);

    int deleteByExample(TbGoodsDescExample example);

    int deleteByPrimaryKey(Long goodsId);

    int insert(TbGoodsDescWithBLOBs record);

    int insertSelective(TbGoodsDescWithBLOBs record);

    List<TbGoodsDescWithBLOBs> selectByExampleWithBLOBs(TbGoodsDescExample example);

    List<TbGoodsDesc> selectByExample(TbGoodsDescExample example);

    TbGoodsDescWithBLOBs selectByPrimaryKey(Long goodsId);

    int updateByExampleSelective(@Param("record") TbGoodsDescWithBLOBs record, @Param("example") TbGoodsDescExample example);

    int updateByExampleWithBLOBs(@Param("record") TbGoodsDescWithBLOBs record, @Param("example") TbGoodsDescExample example);

    int updateByExample(@Param("record") TbGoodsDesc record, @Param("example") TbGoodsDescExample example);

    int updateByPrimaryKeySelective(TbGoodsDescWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TbGoodsDescWithBLOBs record);

    int updateByPrimaryKey(TbGoodsDesc record);

    void insertNew(TbGoodsDesc tbGoodsDesc);

    TbGoodsDesc selectById(Long id);

    void updateNew(TbGoodsDesc tbGoodsDesc);
}